package com.ruoyi.web.domain.req;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 员工绑定用户对象 t_work_user
 * 
 * @author sourcebyte.vip
 * @date 2024-09-02
 */
@Data
public class TWorkUser extends BaseEntity {

    /**  */
    private Long id;

    /** 员工姓名 */
    private String userName;

    /** 手机号 */

    private String phoneNumber;

    /** 性别 */
    private String sex;

    /** 审件数 */
    private int auditNum;

    /** 核卡数 */
    private int checkNum;

    /** 激活数 */
    private int activateNum;

    /** 有效数 */
    private int validNum;

    /** 动卡数 */
    private int moveNum;

    /** 立减金 */
    private int reduceNum;

    /** 自动充 */
    private int automationNum;

    /** 银行名称 */
    private String bankNum;

    /** 用户姓名 */
    private String name;

    /** 员工id */
    private String userId;

    private Long deptId;

    private String time;

    //0 待回访 1 已消费 2 已拒绝 3 已接通
    private Integer type;

    private String deptName;

    /**
     * 卡状态
     */
    private int carType;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("phoneNumber", getPhoneNumber())
            .append("sex", getSex())
            .append("auditNum", getAuditNum())
            .append("checkNum", getCheckNum())
            .append("activateNum", getActivateNum())
            .append("validNum", getValidNum())
            .append("moveNum", getMoveNum())
            .append("reduceNum", getReduceNum())
            .append("automationNum", getAutomationNum())
            .append("bankNum", getBankNum())
            .append("name", getName())
            .append("userId", getUserId())
            .toString();
    }
}
